package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (TDeviceHandleLog)实体类
 *
 * @author makejava
 * @since 2024-10-24 17:56:54
 */
@Data
@TableName("t_device_handle_log")
public class TDeviceHandleLog implements Serializable {
    private static final long serialVersionUID = 546441069625698565L;
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String deviceNum;
    /**
     * 产品id
     */
    private Long prodId;
    /**
     * 下发报文
     */
    private String message;
    /**
     * 报文下发状态 0待执行 1已执行 99执行失败
     */
    private Integer status;
    /**
     * 执行时间
     */
    private Date handleTime;

    @ApiModelProperty(value = "创建人")
    private Long createBy;

    @ApiModelProperty(value = "进场时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}

